﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.Activity
{
    public class MiniCodeScenceAct
    {
        /// <summary>
        /// Desc:缓存的关键字
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Scene { get; set; }

        /// <summary>
        /// Desc:店铺ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public Guid? ShopId { get; set; }

        /// <summary>
        /// Desc:店员ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public Guid? ClerkId { get; set; }

        /// <summary>
        /// Desc:店铺参加活动的记录主键ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public Guid? shopActivityId { get; set; }

        /// <summary>
        /// Desc:活动ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public Guid? ActivityId { get; set; }

        /// <summary>
        /// Desc:数据来源 0=营销活动 1=优惠券活动 2=店员加客户的码,3 商城直播的会员关系链 ,4 商品详情拼接海报 ,5=培训课程 ,6=素材库小程序码    
        /// </summary>           
        public int? DataType { get; set; }

        /// <summary>
        /// Desc:所属的加盟商如果为空，则为公司的
        /// Default:
        /// Nullable:True
        /// </summary>           
        public Guid? CustomerID { get; set; }

        /// <summary>
        /// Desc:缓存对应的json数据
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string DataJson { get; set; }

        /// <summary>
        /// 有效期设置,仅供参考，实际长期有效
        /// </summary>
        public TimeSpan? ExpireTime { get; set; }
    }
}
